﻿import System.Drawing
import System.Windows.Forms

from System.Drawing import *
from System.Windows.Forms import *

class MainForm(Form):
	def __init__(self):
		self.InitializeComponent()
	
	def InitializeComponent(self):
		self._lbYear = System.Windows.Forms.Label()
		self._tbYear = System.Windows.Forms.TextBox()
		self._tbMonth = System.Windows.Forms.TextBox()
		self._lbMonth = System.Windows.Forms.Label()
		self._tbHour = System.Windows.Forms.TextBox()
		self._lbHour = System.Windows.Forms.Label()
		self._tbDay = System.Windows.Forms.TextBox()
		self._lbDay = System.Windows.Forms.Label()
		self._btOk = System.Windows.Forms.Button()
		self._rtbResult = System.Windows.Forms.RichTextBox()
		self._tbJob = System.Windows.Forms.TextBox()
		self._lbJob = System.Windows.Forms.Label()
		self._tbName = System.Windows.Forms.TextBox()
		self._lbName = System.Windows.Forms.Label()
		self._tbCity = System.Windows.Forms.TextBox()
		self._lbCity = System.Windows.Forms.Label()
		self._tbProvince = System.Windows.Forms.TextBox()
		self._lbProvince = System.Windows.Forms.Label()
		self.SuspendLayout()
		# 
		# lbYear
		# 
		self._lbYear.Location = System.Drawing.Point(35, 44)
		self._lbYear.Name = "lbYear"
		self._lbYear.Size = System.Drawing.Size(100, 23)
		self._lbYear.TabIndex = 0
		self._lbYear.Text = "年"
		# 
		# tbYear
		# 
		self._tbYear.Location = System.Drawing.Point(93, 41)
		self._tbYear.Name = "tbYear"
		self._tbYear.Size = System.Drawing.Size(100, 21)
		self._tbYear.TabIndex = 1
		# 
		# tbMonth
		# 
		self._tbMonth.Location = System.Drawing.Point(93, 68)
		self._tbMonth.Name = "tbMonth"
		self._tbMonth.Size = System.Drawing.Size(100, 21)
		self._tbMonth.TabIndex = 3
		# 
		# lbMonth
		# 
		self._lbMonth.Location = System.Drawing.Point(35, 71)
		self._lbMonth.Name = "lbMonth"
		self._lbMonth.Size = System.Drawing.Size(100, 23)
		self._lbMonth.TabIndex = 2
		self._lbMonth.Text = "月"
		# 
		# tbHour
		# 
		self._tbHour.Location = System.Drawing.Point(93, 124)
		self._tbHour.Name = "tbHour"
		self._tbHour.Size = System.Drawing.Size(100, 21)
		self._tbHour.TabIndex = 7
		# 
		# lbHour
		# 
		self._lbHour.Location = System.Drawing.Point(35, 127)
		self._lbHour.Name = "lbHour"
		self._lbHour.Size = System.Drawing.Size(100, 23)
		self._lbHour.TabIndex = 6
		self._lbHour.Text = "时"
		# 
		# tbDay
		# 
		self._tbDay.Location = System.Drawing.Point(93, 97)
		self._tbDay.Name = "tbDay"
		self._tbDay.Size = System.Drawing.Size(100, 21)
		self._tbDay.TabIndex = 5
		# 
		# lbDay
		# 
		self._lbDay.Location = System.Drawing.Point(35, 100)
		self._lbDay.Name = "lbDay"
		self._lbDay.Size = System.Drawing.Size(100, 23)
		self._lbDay.TabIndex = 4
		self._lbDay.Text = "日"
		# 
		# btOk
		# 
		self._btOk.Location = System.Drawing.Point(35, 287)
		self._btOk.Name = "btOk"
		self._btOk.Size = System.Drawing.Size(75, 23)
		self._btOk.TabIndex = 16
		self._btOk.Text = "确定"
		self._btOk.UseVisualStyleBackColor = True
		# 
		# rtbResult
		# 
		self._rtbResult.Location = System.Drawing.Point(254, 34)
		self._rtbResult.Name = "rtbResult"
		self._rtbResult.Size = System.Drawing.Size(299, 276)
		self._rtbResult.TabIndex = 17
		self._rtbResult.Text = ""
		self._rtbResult.TextChanged += self.RichTextBox1TextChanged
		# 
		# tbJob
		# 
		self._tbJob.Location = System.Drawing.Point(93, 234)
		self._tbJob.Name = "tbJob"
		self._tbJob.Size = System.Drawing.Size(100, 21)
		self._tbJob.TabIndex = 15
		# 
		# lbJob
		# 
		self._lbJob.Location = System.Drawing.Point(35, 237)
		self._lbJob.Name = "lbJob"
		self._lbJob.Size = System.Drawing.Size(100, 23)
		self._lbJob.TabIndex = 14
		self._lbJob.Text = "职业"
		# 
		# tbName
		# 
		self._tbName.Location = System.Drawing.Point(93, 207)
		self._tbName.Name = "tbName"
		self._tbName.Size = System.Drawing.Size(100, 21)
		self._tbName.TabIndex = 13
		# 
		# lbName
		# 
		self._lbName.Location = System.Drawing.Point(35, 210)
		self._lbName.Name = "lbName"
		self._lbName.Size = System.Drawing.Size(100, 23)
		self._lbName.TabIndex = 12
		self._lbName.Text = "姓名"
		# 
		# tbCity
		# 
		self._tbCity.Location = System.Drawing.Point(93, 178)
		self._tbCity.Name = "tbCity"
		self._tbCity.Size = System.Drawing.Size(100, 21)
		self._tbCity.TabIndex = 11
		# 
		# lbCity
		# 
		self._lbCity.Location = System.Drawing.Point(35, 181)
		self._lbCity.Name = "lbCity"
		self._lbCity.Size = System.Drawing.Size(100, 23)
		self._lbCity.TabIndex = 10
		self._lbCity.Text = "市"
		# 
		# tbProvince
		# 
		self._tbProvince.Location = System.Drawing.Point(93, 151)
		self._tbProvince.Name = "tbProvince"
		self._tbProvince.Size = System.Drawing.Size(100, 21)
		self._tbProvince.TabIndex = 9
		# 
		# lbProvince
		# 
		self._lbProvince.Location = System.Drawing.Point(35, 154)
		self._lbProvince.Name = "lbProvince"
		self._lbProvince.Size = System.Drawing.Size(100, 23)
		self._lbProvince.TabIndex = 8
		self._lbProvince.Text = "省"
		# 
		# MainForm
		# 
		self.ClientSize = System.Drawing.Size(586, 337)
		self.Controls.Add(self._tbJob)
		self.Controls.Add(self._lbJob)
		self.Controls.Add(self._tbName)
		self.Controls.Add(self._lbName)
		self.Controls.Add(self._tbCity)
		self.Controls.Add(self._lbCity)
		self.Controls.Add(self._tbProvince)
		self.Controls.Add(self._lbProvince)
		self.Controls.Add(self._rtbResult)
		self.Controls.Add(self._btOk)
		self.Controls.Add(self._tbHour)
		self.Controls.Add(self._lbHour)
		self.Controls.Add(self._tbDay)
		self.Controls.Add(self._lbDay)
		self.Controls.Add(self._tbMonth)
		self.Controls.Add(self._lbMonth)
		self.Controls.Add(self._tbYear)
		self.Controls.Add(self._lbYear)
		self.Name = "MainForm"
		self.Text = "艺业四柱预测"
		self.ResumeLayout(False)
		self.PerformLayout()


	def RichTextBox1TextChanged(self, sender, e):
		pass